import { AuthController } from '@/controller/AuthController';

export const Login = [
  {
    method: 'get',
    route: '/captcha/svg',
    controller: AuthController,
    action: 'svg_captcha',
  },
  {
    method: 'post',
    route: '/login',
    controller: AuthController,
    action: 'adminLogin',
  },
  {
    method: 'post',
    route: '/login/revise_password',
    controller: AuthController,
    action: 'adminChangePassword',
  },
  {
    method: 'get',
    route: '/logout',
    controller: AuthController,
    action: 'adminLogOut',
  },
];
